package com.rchat.pocmini.activity.binddevice;

import com.aso.common.http.delegate.HttpCallbackImpl;
import com.aso.common.http.utils.HttpUtils;

/**
 * Created by sudf on 2017/9/12.
 */

public class BindDeviceModelImpl implements BindDeviceContract.Model{
    @Override
    public void activate(String url, String body, HttpCallbackImpl callback) {
        HttpUtils.postAsyn(url,body,callback);
    }

    @Override
    public void bindDevice(String url, String body, HttpCallbackImpl callback) {
        HttpUtils.postAsyn(url,body,callback);
    }

    @Override
    public void unBindDevice(String url, String body, HttpCallbackImpl callback) {
        HttpUtils.postAsyn(url,body,callback);
    }
}
